package main

import "fmt"

func main() {
	a := [6]int{1,2,3,4,5,6}
	s1 := a[2:4]
	s2 := a[2:5]
	fmt.Println(s1, s2)
	s1[0] = 10
	fmt.Println(s1, s2)
}